package com.itclass.auth.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.itclass.auth.pojo.db.SysUser;
import com.itclass.auth.pojo.dto.GithubUser;
import org.springframework.ldap.core.DirContextOperations;
import org.springframework.security.core.userdetails.UserDetails;

public interface SysUserService extends IService<SysUser> {

    SysUser queryUserByUsername(String username);

    SysUser saveGithubUser(GithubUser githubUser);

    void saveLdapUser(UserDetails user, DirContextOperations userData);
}